package com.行为模型.命令模式.原理;

/**调用者
 * @author chenhs
 * @date 2020/11/8
 */
public class Lnvoker {
	private  IOrder order;
	
	public IOrder getOrder() {
		return order;
	}
	
	public void setOrder(IOrder order) {
		this.order = order;
	}
	public void  call(){
		order.speak();
	}
}
